import moment from 'moment'
import Vue from 'vue'
Vue.filter('time',(data)=>moment(data).fromNow())